home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / print / SunPageSelection.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  812 b   |  27 lines

  1. package sun.print;
  2.  
  3. import javax.print.attribute.PrintRequestAttribute;
  4.  
  5. public final class SunPageSelection implements PrintRequestAttribute {
  6.    public static final SunPageSelection ALL = new SunPageSelection(0);
  7.    public static final SunPageSelection RANGE = new SunPageSelection(1);
  8.    public static final SunPageSelection SELECTION = new SunPageSelection(2);
  9.    private int pages;
  10.  
  11.    public SunPageSelection(int var1) {
  12.       this.pages = var1;
  13.    }
  14.  
  15.    public final Class getCategory() {
  16.       return SunPageSelection.class;
  17.    }
  18.  
  19.    public final String getName() {
  20.       return "sun-page-selection";
  21.    }
  22.  
  23.    public String toString() {
  24.       return "page-selection: " + this.pages;
  25.    }
  26. }
  27.